package com.example.userservice.service;

import com.example.userservice.dto.LoginRequest;
import com.example.userservice.dto.UserRegistrationRequest;
import com.example.userservice.dto.UserResponse;

import java.util.List;

public interface UserService {
    String login(LoginRequest loginRequest);
    UserResponse register(UserRegistrationRequest registrationRequest);
    List<UserResponse> getAllUsers();
    UserResponse getUserById(Long id);
    UserResponse updateUser(Long id, UserRegistrationRequest request);
    void resetPassword(Long id, String newPassword);
} 